package cached

import (
	"venus/servers/game/objects"
)

var Players = make(map[int64]*objects.Player)

func GetPlayer(pid int64) *objects.Player {
	return Players[pid]
}

func SetPlayer(player *objects.Player) {
	Players[player.Pid] = player
}
